package org.xiao;

import java.io.FileOutputStream;
import java.io.IOException;

public class OutPutStream {
    public static void main(String[] args) throws IOException {
        FileOutputStream fileOutputStream = new FileOutputStream("D:\\study\\IO\\IOstudy\\src\\main\\resources\\test.txt");
        fileOutputStream.write("a".getBytes());
        fileOutputStream.write("b".getBytes());
        fileOutputStream.close();
    }
}